//
//  RCDefaultCenterView.h
//  RCsinaMicroBlog
//
//  Created by Mr.Ray on 15/2/3.
//  Copyright (c) 2015年 Ray.peng. All rights reserved.
//

#import <UIKit/UIKit.h>
@class RCDefaultCenterView;

@protocol RCDefaultCenterViewDelegate <NSObject>

- (void)defauletCenterView:(RCDefaultCenterView *)defaultCenterView didClickLoginBtn:(UIButton *)loginBtn;
- (void)defauletCenterView:(RCDefaultCenterView *)defaultCenterView didClickRegisterBtn:(UIButton *)registerBtn;

@end


@interface RCDefaultCenterView : UIView

+ (instancetype)defaultCenter;

/**
 *  图标名称
 */
@property (nonatomic ,strong) NSString *iconImageName;
/**
 *  描述信息
 */
@property (nonatomic ,strong) NSString *info;

/**
 *  转盘
 */
@property (weak, nonatomic) IBOutlet UIImageView *turntableIv;


/**
 *  defaultCenterView的代理协议
 */
@property (nonatomic, weak) id<RCDefaultCenterViewDelegate> delegate;
/**
 *  开始转动
 */
- (void)startRotate;
- (void)stopRotate;

@end
